//
//  YWSubscriptionTableViewCell.h
//  maintain
//
//  Created by 烟雨云渊 on 2017/5/10.
//  Copyright © 2017年 ewin. All rights reserved.
//

#import <UIKit/UIKit.h>
@class YWEquipmentSystemType;
static NSString *const YWSubscriptionTableViewCellIdentifier = @"YWSubscriptionTableViewCellIdentifier";

#define KSelectSystemTypeBtnTag 1001//报障类别按钮tag
#define KSelectEquipmentTypeBtnTag 1002//设备类型按钮tag

#define KNameLabelWidth (SCREEN_WIDTH-40)/3
#define KNameLabelHeight 30
#define KCancelBtnSize 20
#define KLabelGap 30
#define KcontentGap 10

@protocol YWSubscriptionTableViewCellDelegate <NSObject>
@optional
- (void)jumpToSelectType:(NSInteger)buttonTag;
- (void)cancelButtonEvent:(NSInteger)buttonTag withSystemType:(YWEquipmentSystemType*)systemType;
- (void)cancelBtnEventWithEquType:(NSInteger)buttonTag;
@end

@interface YWSubscriptionTableViewCell : UITableViewCell
@property (nonatomic, weak) id<YWSubscriptionTableViewCellDelegate> delegate;
@property (nonatomic, strong) NSMutableArray * systemTypeArray;
@property (nonatomic, assign) NSInteger btnTag;
@property (nonatomic, strong) NSMutableArray * equipmentTypeArray;
@end
